/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unc.pds.service;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;

/**
 *
 * @author ain
 */
public interface ServiceBeanRemote extends EJBObject {
    unc.pds.model.Model getByKey(Long key) throws RemoteException;
    unc.pds.model.Model getByFieldSet(unc.pds.util.Arch doc, String type) throws RemoteException;

    //unc.pds.model.Model build(unc.pds.util.Arch doc, String type) throws RemoteException;

    unc.pds.model.UserRemote getUser() throws RemoteException;
    //unc.pds.model.UserRemote getUser2() throws RemoteException;
}
